Version 1.3.11, interface, binary age 0.
authorOwen Taylor <otaylor@redhat.com>
Wed, 21 Nov 2001 21:44:08 +0000 (21:44 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 21 Nov 2001 21:44:08 +0000 (21:44 +0000)
Wed Nov 21 15:21:26 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in (GTK_MICRO_VERSION): Version 1.3.11,
interface, binary age 0.

* NEWS: Updates

* gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
fixes in docs.

* gtk/gtkmain.h: Remove unused and misnamespaced
get_gtk_win32_directory() prototype.

* gdk/gdkimage.c (gdk_image_get): Fix parameter names
to match header.

* gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
to match docs.

* gdk/gdkevents.c (gdk_event_get_coords)
  gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
  gtk/gtkdnd.c (gtk_drag_set_icon_stock):
Fix parameter names in docs.

* docs/faq/Makefile.am (FAQ_FILES): Add missing files.
(#64961, Akira Tagoh)

22 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
INSTALL
NEWS
README
configure.in
docs/faq/Makefile.am
gdk/gdkevents.c
gdk/gdkimage.c
gdk/gdkwindow.h
gdk/x11/gdkwindow-x11.c
gtk/gtkcellrenderertoggle.c
gtk/gtkdnd.c
gtk/gtkentry.c
gtk/gtkmain.h
gtk/gtkrc.c
gtk/gtktreemodel.c

index b5641e14f8781a4ca1b9eee0c2ceefc3229a1fe4..1f26785426126574ebb5dc39f948c5f507235e82 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+Wed Nov 21 15:21:26 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (GTK_MICRO_VERSION): Version 1.3.11, 
+       interface, binary age 0.
+
+       * NEWS: Updates
+
+       * gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
+       fixes in docs.
+
+       * gtk/gtkmain.h: Remove unused and misnamespaced
+       get_gtk_win32_directory() prototype.
+
+       * gdk/gdkimage.c (gdk_image_get): Fix parameter names
+       to match header.
+
+       * gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
+       gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
+       to match docs.
+
+       * gdk/gdkevents.c (gdk_event_get_coords)
+         gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
+         gtk/gtkdnd.c (gtk_drag_set_icon_stock):
+       Fix parameter names in docs.
+       
+       * docs/faq/Makefile.am (FAQ_FILES): Add missing files.
+       (#64961, Akira Tagoh)
+
 Wed Nov 21 11:41:29 2001  Owen Taylor  <otaylor@redhat.com>
 
        * tests/testgtk.c (create_tooltips): Ref-sink the tooltips object.
index b5641e14f8781a4ca1b9eee0c2ceefc3229a1fe4..1f26785426126574ebb5dc39f948c5f507235e82 100644 (file)
@@ -1,3 +1,31 @@
+Wed Nov 21 15:21:26 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (GTK_MICRO_VERSION): Version 1.3.11, 
+       interface, binary age 0.
+
+       * NEWS: Updates
+
+       * gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
+       fixes in docs.
+
+       * gtk/gtkmain.h: Remove unused and misnamespaced
+       get_gtk_win32_directory() prototype.
+
+       * gdk/gdkimage.c (gdk_image_get): Fix parameter names
+       to match header.
+
+       * gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
+       gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
+       to match docs.
+
+       * gdk/gdkevents.c (gdk_event_get_coords)
+         gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
+         gtk/gtkdnd.c (gtk_drag_set_icon_stock):
+       Fix parameter names in docs.
+       
+       * docs/faq/Makefile.am (FAQ_FILES): Add missing files.
+       (#64961, Akira Tagoh)
+
 Wed Nov 21 11:41:29 2001  Owen Taylor  <otaylor@redhat.com>
 
        * tests/testgtk.c (create_tooltips): Ref-sink the tooltips object.
index b5641e14f8781a4ca1b9eee0c2ceefc3229a1fe4..1f26785426126574ebb5dc39f948c5f507235e82 100644 (file)
@@ -1,3 +1,31 @@
+Wed Nov 21 15:21:26 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (GTK_MICRO_VERSION): Version 1.3.11, 
+       interface, binary age 0.
+
+       * NEWS: Updates
+
+       * gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
+       fixes in docs.
+
+       * gtk/gtkmain.h: Remove unused and misnamespaced
+       get_gtk_win32_directory() prototype.
+
+       * gdk/gdkimage.c (gdk_image_get): Fix parameter names
+       to match header.
+
+       * gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
+       gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
+       to match docs.
+
+       * gdk/gdkevents.c (gdk_event_get_coords)
+         gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
+         gtk/gtkdnd.c (gtk_drag_set_icon_stock):
+       Fix parameter names in docs.
+       
+       * docs/faq/Makefile.am (FAQ_FILES): Add missing files.
+       (#64961, Akira Tagoh)
+
 Wed Nov 21 11:41:29 2001  Owen Taylor  <otaylor@redhat.com>
 
        * tests/testgtk.c (create_tooltips): Ref-sink the tooltips object.
index b5641e14f8781a4ca1b9eee0c2ceefc3229a1fe4..1f26785426126574ebb5dc39f948c5f507235e82 100644 (file)
@@ -1,3 +1,31 @@
+Wed Nov 21 15:21:26 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (GTK_MICRO_VERSION): Version 1.3.11, 
+       interface, binary age 0.
+
+       * NEWS: Updates
+
+       * gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
+       fixes in docs.
+
+       * gtk/gtkmain.h: Remove unused and misnamespaced
+       get_gtk_win32_directory() prototype.
+
+       * gdk/gdkimage.c (gdk_image_get): Fix parameter names
+       to match header.
+
+       * gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
+       gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
+       to match docs.
+
+       * gdk/gdkevents.c (gdk_event_get_coords)
+         gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
+         gtk/gtkdnd.c (gtk_drag_set_icon_stock):
+       Fix parameter names in docs.
+       
+       * docs/faq/Makefile.am (FAQ_FILES): Add missing files.
+       (#64961, Akira Tagoh)
+
 Wed Nov 21 11:41:29 2001  Owen Taylor  <otaylor@redhat.com>
 
        * tests/testgtk.c (create_tooltips): Ref-sink the tooltips object.
index b5641e14f8781a4ca1b9eee0c2ceefc3229a1fe4..1f26785426126574ebb5dc39f948c5f507235e82 100644 (file)
@@ -1,3 +1,31 @@
+Wed Nov 21 15:21:26 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (GTK_MICRO_VERSION): Version 1.3.11, 
+       interface, binary age 0.
+
+       * NEWS: Updates
+
+       * gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
+       fixes in docs.
+
+       * gtk/gtkmain.h: Remove unused and misnamespaced
+       get_gtk_win32_directory() prototype.
+
+       * gdk/gdkimage.c (gdk_image_get): Fix parameter names
+       to match header.
+
+       * gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
+       gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
+       to match docs.
+
+       * gdk/gdkevents.c (gdk_event_get_coords)
+         gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
+         gtk/gtkdnd.c (gtk_drag_set_icon_stock):
+       Fix parameter names in docs.
+       
+       * docs/faq/Makefile.am (FAQ_FILES): Add missing files.
+       (#64961, Akira Tagoh)
+
 Wed Nov 21 11:41:29 2001  Owen Taylor  <otaylor@redhat.com>
 
        * tests/testgtk.c (create_tooltips): Ref-sink the tooltips object.
index b5641e14f8781a4ca1b9eee0c2ceefc3229a1fe4..1f26785426126574ebb5dc39f948c5f507235e82 100644 (file)
@@ -1,3 +1,31 @@
+Wed Nov 21 15:21:26 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (GTK_MICRO_VERSION): Version 1.3.11, 
+       interface, binary age 0.
+
+       * NEWS: Updates
+
+       * gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
+       fixes in docs.
+
+       * gtk/gtkmain.h: Remove unused and misnamespaced
+       get_gtk_win32_directory() prototype.
+
+       * gdk/gdkimage.c (gdk_image_get): Fix parameter names
+       to match header.
+
+       * gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
+       gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
+       to match docs.
+
+       * gdk/gdkevents.c (gdk_event_get_coords)
+         gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
+         gtk/gtkdnd.c (gtk_drag_set_icon_stock):
+       Fix parameter names in docs.
+       
+       * docs/faq/Makefile.am (FAQ_FILES): Add missing files.
+       (#64961, Akira Tagoh)
+
 Wed Nov 21 11:41:29 2001  Owen Taylor  <otaylor@redhat.com>
 
        * tests/testgtk.c (create_tooltips): Ref-sink the tooltips object.
index b5641e14f8781a4ca1b9eee0c2ceefc3229a1fe4..1f26785426126574ebb5dc39f948c5f507235e82 100644 (file)
@@ -1,3 +1,31 @@
+Wed Nov 21 15:21:26 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (GTK_MICRO_VERSION): Version 1.3.11, 
+       interface, binary age 0.
+
+       * NEWS: Updates
+
+       * gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
+       fixes in docs.
+
+       * gtk/gtkmain.h: Remove unused and misnamespaced
+       get_gtk_win32_directory() prototype.
+
+       * gdk/gdkimage.c (gdk_image_get): Fix parameter names
+       to match header.
+
+       * gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
+       gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
+       to match docs.
+
+       * gdk/gdkevents.c (gdk_event_get_coords)
+         gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
+         gtk/gtkdnd.c (gtk_drag_set_icon_stock):
+       Fix parameter names in docs.
+       
+       * docs/faq/Makefile.am (FAQ_FILES): Add missing files.
+       (#64961, Akira Tagoh)
+
 Wed Nov 21 11:41:29 2001  Owen Taylor  <otaylor@redhat.com>
 
        * tests/testgtk.c (create_tooltips): Ref-sink the tooltips object.
diff --git a/INSTALL b/INSTALL
index f002dc7592bb13cf0d8c1292c9c08e61f7dc7998..609e44ad01aa41f8a509629325c9ef5bc46fcbd9 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -20,8 +20,8 @@ GTK+ requires the following packages:
 Simple install procedure
 ========================
 
-  % gzip -cd gtk+-1.3.10.tar.gz | tar xvf - # unpack the sources
-  % cd gtk+-1.3.10                        # change to the toplevel directory
+  % gzip -cd gtk+-1.3.11.tar.gz | tar xvf - # unpack the sources
+  % cd gtk+-1.3.11                        # change to the toplevel directory
   % ./configure                                   # run the `configure' script
   % make                                  # build GTK
   [ Become root if necessary ]
diff --git a/NEWS b/NEWS
index 1ac3238dc4028d2101244f5142a126e373a9593e..db3014be5e42fa11163d1c96a7d3c346ffb9ca60 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,38 @@
+Overview of Changes in GTK+ 1.3.11
+==================================
+
+* Massive rework of accelerator API and implementation (Tim Janik)
+* Major fixes to resizing and redrawing to eliminate hysteresis
+  and optimize. (Owen Taylor, Soeren Sandmann)
+* Make many widgets NO_WINDOW to improve appearance and reduce
+  drawing overhead (Owen)
+* Text view fixes (Havoc Pennington)
+* Make child widgets in GtkTextView work (Havoc)
+* GtkTreeModelSort fixage (Jonathan Blandford, Kristian Rietveld)
+* Clean up GtkTreeView drag and drop support (Owen)
+* Misc tree view fixes and improvements (Jonathan, Kristian, Anders, Matt Wilson)
+* Add gtk_window_get/set_focus(), gtk_window_set_default() as public
+  functions (Owen, Damian Ivereigh)
+* Fixes to GtkPlug/GtkSocket (Michael Meeks, Owen)
+* Change button ordering in standard dialogs to correspond to 
+  GNOME useability project proposal (Gregory Merchan)
+* Add support for context sensitivity in input methods (Owen)
+* Hook up gtk_im_context_set_use_preedit() (Hidetoshi Tajima)
+* Fix gdk_window_scroll() and other aspects of big windows (Owen)
+* Remove need for X connection for class initialization (Jacob Berkman)
+* Propagate key events to parents of focused widget (Owen)
+* Don't export normal GTK+ marshalers, export deprecated compat marshalers (Owen)
+* Many Win32 Fixes and improvements (Hans Breuer, Tor Lillqvist)
+* Bug and documentation fixing (Matthias Clasen, Anders Carlsson,
+  Jacob Berkman, others.)
+
+Other Contributors:
+  Darin Adler, Marius Andreiana, Erwann Chenede, Murray Cumming, Janet Davis, 
+  Daniel Egger, Daniel Elstner, Jeff Franks, Alex Larsson, George Lebl, 
+  Sergey Kuzminov, Eric Lemings, Arkadiusz Miskiewicz, Padraig O'Briain, Sven Neumann, 
+  Kristian Rietveld, Nicolas Setton, Manish Singh,  Vitaly Tishkov, Sebastian Wilhelmi, 
+  Michael Natterer
+
 Overview of Changes in GTK+ 1.3.10
 ==================================
 
diff --git a/README b/README
index 7cc299456b475a92ed099df6aadf79ef70d407ce..cc6728fc2c71c0efc496016058c34e5bbb7266ad 100644 (file)
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
 General Information
 ===================
 
-This is GTK+ version 1.3.10. GTK+, which stands for the Gimp ToolKit, 
+This is GTK+ version 1.3.11. GTK+, which stands for the Gimp ToolKit, 
 is a library for creating graphical user interfaces for the X Window 
 System. It is designed to be small, efficient, and flexible. GTK+ is 
 written in C with a very object-oriented approach.
index 5b9f09ee976fb4a3b8c84aef04d866ac70e23870..143260f506f01d752956b832adb4c88129c62948 100644 (file)
@@ -34,7 +34,7 @@ GLIB_AC_DIVERT_BEFORE_HELP([
 #
 GTK_MAJOR_VERSION=1
 GTK_MINOR_VERSION=3
-GTK_MICRO_VERSION=10
+GTK_MICRO_VERSION=11
 GTK_INTERFACE_AGE=0
 GTK_BINARY_AGE=0
 GTK_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$GTK_MICRO_VERSION
index 1a8b4e6220c3934eda252bba7d2917953d197422..bf58687751dc16425843bfad6603718402b633d3 100644 (file)
@@ -8,6 +8,8 @@ FAQ_FILES=html/gtkfaq.html              \
        html/gtkfaq-5.html              \
        html/gtkfaq-6.html              \
        html/gtkfaq-7.html              \
+       html/gtkfaq-8.html              \
+       html/gtkfaq-9.html              \
        text/gtkfaq.txt
 
 $(FAQ_FILES): faq
index a7a4b81bd77565eebfcc48e88fd0c50fbba653fe..4b9219553831cbe9fb0096b82d7687150158321a 100644 (file)
@@ -552,8 +552,8 @@ gdk_event_get_state (GdkEvent        *event,
 /**
  * gdk_event_get_coords:
  * @event: a #GdkEvent
- * @x_root: location to put event window x coordinate
- * @y_root: location to put event window y coordinate
+ * @x_win: location to put event window x coordinate
+ * @y_win: location to put event window y coordinate
  * 
  * Extract the event window relative x/y coordinates from an event.
  * 
index 76ecc7eec4d6a39a7caeb3889f40684f728fa015..71ae136e086a18ba7298e6e0507c8090a71f0725 100644 (file)
@@ -61,7 +61,7 @@ gdk_image_unref (GdkImage *image)
 
 /**
  * gdk_image_get:
- * @window: a #GdkWindow 
+ * @drawable: a #GdkDrawable
  * @x: x coordinate in @window
  * @y: y coordinate in @window
  * @width: width of area in @window
@@ -75,19 +75,19 @@ gdk_image_unref (GdkImage *image)
  * Return value: a new #GdkImage or %NULL
  **/
 GdkImage*
-gdk_image_get (GdkWindow *window,
+gdk_image_get (GdkWindow *drawable,
               gint       x,
               gint       y,
               gint       width,
               gint       height)
 {
-  g_return_val_if_fail (GDK_IS_DRAWABLE (window), NULL);
+  g_return_val_if_fail (GDK_IS_DRAWABLE (drawable), NULL);
   g_return_val_if_fail (x >= 0, NULL);
   g_return_val_if_fail (y >= 0, NULL);
   g_return_val_if_fail (width >= 0, NULL);
   g_return_val_if_fail (height >= 0, NULL);
   
-  return gdk_drawable_get_image (window, x, y, width, height);
+  return gdk_drawable_get_image (drawable, y, width, height);
 }
 
 /**
index eae6d9baaee63f17a4fb4cb7338323a467cdbd3b..9383c7a255bf39c52add215854ac6abc6954eac2 100644 (file)
@@ -333,9 +333,9 @@ void          gdk_window_scroll                (GdkWindow *window,
  *  from gdk_pixmap_create_from_xpm.   Stefan Wille
  */
 void gdk_window_shape_combine_mask  (GdkWindow     *window,
-                                     GdkBitmap     *shape_mask,
-                                     gint           offset_x,
-                                     gint           offset_y);
+                                     GdkBitmap     *mask,
+                                     gint           x,
+                                     gint           y);
 void gdk_window_shape_combine_region (GdkWindow            *window,
                                       GdkRegion     *shape_region,
                                       gint          offset_x,
@@ -399,7 +399,7 @@ void          gdk_window_set_modal_hint  (GdkWindow       *window,
                                          gboolean         modal);
 void          gdk_window_set_geometry_hints (GdkWindow        *window,
                                             GdkGeometry      *geometry,
-                                            GdkWindowHints    flags);
+                                            GdkWindowHints    geom_mask);
 void          gdk_set_sm_client_id         (const gchar *sm_client_id);
 
 void         gdk_window_begin_paint_rect   (GdkWindow    *window,
@@ -413,7 +413,7 @@ void              gdk_window_set_title         (GdkWindow     *window,
 void          gdk_window_set_role          (GdkWindow       *window,
                                            const gchar     *role);
 void          gdk_window_set_transient_for (GdkWindow       *window, 
-                                           GdkWindow       *leader);
+                                           GdkWindow       *parent);
 void         gdk_window_set_background  (GdkWindow       *window,
                                          GdkColor        *color);
 void         gdk_window_set_back_pixmap (GdkWindow       *window,
index 265558bfb85c6104db8dcacd23bb5eee1407e3b3..f7811d899e045329f27286c5a64987d2552c9f48 100644 (file)
@@ -4459,6 +4459,7 @@ emulate_move_drag (GdkWindow     *window,
 /**
  * gdk_window_begin_resize_drag:
  * @window: a #GdkWindow
+ * @edge: the edge or corner from which the drag is started
  * @button: the button being used to drag
  * @root_x: root window X coordinate of mouse click that began the drag
  * @root_y: root window Y coordinate of mouse click that began the drag
index 79ca1cd37fefdc682d3c9b9669047f9c860d627c..67e290c42eaa0fda32fbb38bd1e2b8d7139c790a 100644 (file)
@@ -396,7 +396,7 @@ gtk_cell_renderer_toggle_get_radio (GtkCellRendererToggle *toggle)
 
 /**
  * gtk_cell_renderer_toggle_get_active:
- * @check_menu_item: a #GtkCellRendererToggle
+ * @toggle: a #GtkCellRendererToggle
  *
  * Returns whether the cell renderer is active. See
  * gtk_cell_renderer_toggle_set_active().
index 0a61e0bf121bbfe609fa62ce0bbc315c1c8a28ad..7e4edbf85cf21dac8a9bce60d47f1265d49e9876 100644 (file)
@@ -2200,7 +2200,7 @@ gtk_drag_set_icon_pixbuf  (GdkDragContext *context,
  * gtk_drag_set_icon_stock:
  * @context: the context for a drag. (This must be called 
  *            with a  context for the source side of a drag)
- * @stock: the ID of the stock icon to use for the drag.
+ * @stock_id: the ID of the stock icon to use for the drag.
  * @hot_x: the X offset within the icon of the hotspot.
  * @hot_y: the Y offset within the icon of the hotspot.
  * 
index f64791704734b5ab57eadbfad9932a51e1fb14d4..88ad409bf3f53500a7ca3531c6e80c0c1bd4a858 100644 (file)
@@ -3507,7 +3507,7 @@ gtk_entry_get_activates_default (GtkEntry *entry)
  *
  * Changes the size request of the entry to be about the right size
  * for @n_chars characters. Note that it changes the size
- * <emphasize>request</emphasize>, the size can still be affected by
+ * <emphasis>request</emphasis>, the size can still be affected by
  * how you pack the widget into containers. If @n_chars is -1, the
  * size reverts to the default entry size.
  * 
index 93a6d4c95f911fe5c993926217836ca72bb110dc..97b24b98aee484729d1ba243705450f473255c2a 100644 (file)
@@ -109,13 +109,6 @@ gboolean gtk_init_check_abi_check (int       *argc,
 
 #endif
 
-#ifdef G_OS_WIN32
-/* don't hard-code any absolute directory but calculate then from
- * regristy settings or gtk-*.*.dll placement. 
- */
-gchar *get_gtk_win32_directory (gchar *subdir);
-#endif
-
 #ifndef GTK_DISABLE_DEPRECATED
 void     gtk_exit                 (gint    error_code);
 #endif /* GTK_DISABLE_DEPRECATED */
index 806896adf9450eefe8785b92f9abd5897fc0b346..d60b09a848010578ea88ac4a225ee0c90d940766 100644 (file)
@@ -1506,10 +1506,12 @@ gtk_rc_get_style (GtkWidget *widget)
  *
  * The action of gtk_rc_get_style() is similar to:
  *
- *  gtk_widget_path (widget, NULL, &path, NULL);
- *  gtk_widget_class_path (widget, NULL, &class_path, NULL);
+ * <programlisting>
+ *  gtk_widget_path (widget, NULL, &amp;path, NULL);
+ *  gtk_widget_class_path (widget, NULL, &amp;class_path, NULL);
  *  gtk_rc_get_style_by_paths (gtk_widget_get_settings (widget), path, class_path,
  *                             G_OBJECT_TYPE (widget));
+ * </programlisting>
  * 
  * Return value: A style created by matching with the supplied paths,
  *   or %NULL if nothign matching was specified and the  default style should
index ec0e8f07e941f73617d79cf91e9806f428327810..e71c5b26fdff67cb04b5f2303495151f51ceead1 100644 (file)
@@ -960,7 +960,7 @@ gtk_tree_model_unref_node (GtkTreeModel *tree_model,
  * each column number followed by a place to store the value being
  * retrieved.  The list is terminated by a -1. For example, to get a
  * value from column 0 with type %G_TYPE_STRING, you would
- * write: gtk_tree_model_get (model, iter, 0, &place_string_here, -1),
+ * write: <literal>gtk_tree_model_get (model, iter, 0, &amp;place_string_here, -1)</literal>,
  * where place_string_here is a gchar* to be filled with the string.
  * If appropriate, the returned values have to be freed or unreferenced.
  *